
const { VantResolver } = require('unplugin-vue-components/resolvers');
const ComponentsPlugin = require('unplugin-vue-components/webpack');
module.exports={
  transpileDependencies: true,
  devServer: {
    port: 8090,
    proxy:{
      '/socket.io':{
        //target: 'http://47.101.35.155:3000',
        target: 'http://localhost:3000',
        changeOrigin:true
      }
    }
  },
  configureWebpack: {
    plugins: [
      ComponentsPlugin({
        resolvers: [VantResolver()],
      }),
    ],
  },

}
